<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>忘记密码</title>
    <!-- Custom Theme files -->
    <link th:href="@{/css/login.css}" rel="stylesheet" type="text/css" media="all"/>
    <!-- Custom Theme files -->
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="Login form web template, Sign up Web Templates, Flat Web Templates, Login signup Responsive web template, Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />
    <!--Google Fonts-->
    <link th:href='@{http://fonts.useso.com/css?family=Roboto:500,900italic,900,400italic,100,700italic,300,700,500italic,100italic,300italic,400}' rel='stylesheet' type='text/css'>
    <link th:href='@{http://fonts.useso.com/css?family=Droid+Serif:400,700,400italic,700italic}' rel='stylesheet' type='text/css'>
    <!--Google Fonts-->
    <link th:href="@{/css/plugins/sweetalert/sweetalert.css}"  type="text/css" rel="stylesheet"/>
    <script th:src="@{/script/plugins/sweetalert/sweetalert.min.js}"></script>

    <script th:inline="javascript">
        var error = [[${error}]];
        setTimeout(function check() {
            if(error!=null){
                swal({
                    title : "温馨提示",
                    text : error
                });
            }
        },100);

    </script>


</head>
<body>
<div class="login">
    <form role="form" action="forget" method="post">
        <div class="login-top">
            <h1 th:text="#{login.Login}">密码找回</h1>
            <div class="form-group">
                <input type="text" class="form-control" placeholder="输入注册时的账号" name="userName" required="" />
            </div>
            <div class="form-group">
                <input type="email" class="form-control" placeholder="输入注册时绑定的邮箱" name="userEmail" required="" />
            </div>
            <div class="forgot">
                <input type="submit" value="确认" onClick="check()" >
            </div>
        </div>
        <div class="login-bottom">
            <h3 ><a href="login.html" th:href="@{login}" style="color : #c6c8ca">返回登录</a>  </h3>
        </div>
    </form>
</div>
<div class="clickme">
    <p><a th:href="@{index}" href="../index.html" th:text="#{login.ClickMe}">点我回首页</a></p>
</div>

</body>
</html>